import request from '@/utils/request'

// 查询技术要求文件版列表
export function listTechnologyRequireFile(query) {
  return request({
    url: '/vueflow/technologyRequireFile/list',
    method: 'get',
    params: query
  })
}

// 查询技术要求文件版详细
export function getTechnologyRequireFile(id) {
  return request({
    url: '/vueflow/technologyRequireFile/' + id,
    method: 'get'
  })
}

// 新增技术要求文件版
export function addTechnologyRequireFile(data) {
  return request({
    url: '/vueflow/technologyRequireFile',
    method: 'post',
    data: data
  })
}

// 修改技术要求文件版
export function updateTechnologyRequireFile(data) {
  return request({
    url: '/vueflow/technologyRequireFile',
    method: 'put',
    data: data
  })
}

// 删除技术要求文件版
export function delTechnologyRequireFile(id) {
  return request({
    url: '/vueflow/technologyRequireFile/' + id,
    method: 'delete'
  })
}
